package com.thinkingstar.iads.common.tree.vo;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import com.thinkingstar.iads.cs.sys.enumerate.PROJECT_DESIGN_TYPE;
import com.thinkingstar.iads.datacenter.entity.DcProjectMentionInformation;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 设计资料节点树
 * @author Administrator
 *
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DesignMentionDataTreeVO  extends CommonTreeVO <DesignMentionDataTreeVO>{
	
	private Boolean mention_type; //资料类型(结构化资料与非结构化资料)
	
	private String mention_name; //资料名称
	
	private String mention_code; //资料代号
	
	private static final String MENTION_TREE_URL = "/projectCenter/treeapi/mentiondatapi";
	
	public DesignMentionDataTreeVO(DcProjectMentionInformation dcProjectMentionInformation){
		this.name = dcProjectMentionInformation.getMention_information_name();
		this.node_code = dcProjectMentionInformation.getId();
		this.xurl = MENTION_TREE_URL+"/"+dcProjectMentionInformation.getId();
		this.node_type = PROJECT_DESIGN_TYPE.设计资料.getDesc();
		this.mention_type = dcProjectMentionInformation.getMention_information_type();
		this.mention_name = dcProjectMentionInformation.getMention_information_name();
		this.mention_code = dcProjectMentionInformation.getMention_information_code();
	}
	
	
	
	

}
